home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 23 / Amiga Format AFCD23 (Feb 1998, Issue 107).iso / -screenplay- / shareware / hammytown / 3.room < prev    next >
Text File  |  1997-12-01  |  6KB  |  167 lines

  1. /*                     This is a room file for GRAAL
  2. /*
  3. /*                                 3.room
  4. /* RF 1=0 first visit
  5.  
  6.  
  7. /* UPDATE: scroll_frames;normal_frames
  8. /*
  9. UPDATE: 3;1
  10.  
  11. /* SECTION: section number
  12. SECTION: 1
  13.  
  14. /* BG_IFF: filename
  15. BG_IFF: 3BG.IFF
  16.  
  17. /* START_POS: sposno;bobimage;x;y;camera;floor
  18. /*
  19. START_POS: 1;13;7;103;L;1
  20.  
  21.  
  22. /* FLOOR: floorno;x1;y1;x2;y2;floormap/.../floormap
  23. FLOOR: 1;1;83;318;116;1-1
  24.  
  25.  
  26. /* EXIT: no;x1;y1;x2;y2;epointx;epointy;description
  27. EXIT: 1;0;49;32;121;1;105;Street
  28.  
  29. /* CLPART: filename
  30. /*
  31. CLPART: 3FG.IFF
  32.  
  33. /* ROOMBOBS: no_of_imgs;startrbob;grabx;graby;width;height;xoffset;hotsp
  34.  
  35. /* 1 is the optic
  36. ROOMBOBS: 1;1;63;2;13;39;0;0
  37. /* 2-4 is the bartender animation
  38. ROOMBOBS: 3;2;14;6;15;20;15;0
  39.  
  40. /* STATIC: bobno;LBOBimage;putx;puty
  41.  
  42. /* ANIM: bobno;bobimg;amalchannel;amalsequence;putx;puty
  43.  
  44. /* ROOMOBJ: roomobjno,object_definition.... (see graal.main documentation)
  45. /*
  46. ROOMOBJ: 1;Optic;3;VIS;51;RBOB1;302;53;-9;29;13; ;NPICK; ;8; ;HIGH; ;an;the; 
  47.  
  48. /* DACT: condition;...;action;...
  49. /*
  50. /*   These lines contain room actions performed directly as you enter the
  51. /*   room.
  52. /* Light up scene
  53. DACT: TRACK NO;LIGHTS ON
  54. DACT: IFRF 1=0;SAY Look at that dodgy bloke over there!;SAY Looks like he's got his head on upside-down!;SETRF 1=1;EXIT
  55.  
  56. /* LINE: dlgno;lineno;line;reuseline;conditions
  57. /*
  58. /*   Specifies a line of dialogue
  59. /*
  60. /* LACT: dlgno;lineno;action;...;action
  61. /*
  62. /* 1 is bartender dialogue
  63. /*
  64. LINE: 1;1;Cheers then mate, I'll see you later.;Forget it.; 
  65. LACT: 1;1;IFOF 1=0;RESP R,1,Okey dokey, see you.;SETOF 1=1;EDLG;EXIT
  66. LACT: 1;1;IFOF 1=1;RESP R,1,Forgotten.;EDLG;EXIT
  67. /*
  68. LINE: 1;2;I just crashed my car!; ; 
  69. LACT: 1;2;RESP R,1,Oh. well done.;RESP R,1,I suppose you hit that tree?;SAY Yeah, that's right.;SAY How did you know that?!;RESP R,1,You're not the first one to hit it, you know.;RESP R,1,In fact, we've complained about it before. ;DSET 1,N2,+1
  70. /*
  71. LINE: 1;3;Where am I?;Where did you say I was?; ; 
  72. LACT: 1;3;RESP R,1,This is the Ivy bar.;RESP R,1,Except that we are closed for the minute.;RESP R,1,What can I do for you?
  73. LACT: 1;3;DSET 1,+1,+5,+6,+8
  74. /*
  75. LINE: 1;4;Why is that optic on your left so big?; ; 
  76. LACT: 1;4;RESP R,1,Because our customers like LAAAARGE measures!;RESP R,1,Either that or the programmer of this game can't draw properly to save his life.
  77. LACT: 1;4;DSET 1,N4
  78.  
  79. /*
  80. LINE: 1;5;Why is it called the Ivy bar?; ; 
  81. LACT: 1;5;RESP R,1,Well, it's called the Ivy bar because...;RESP R,1,...It's got Ivy round the door.
  82. LACT: 1;5;RESP R,1,What a bloody stupid question.;SAY Alright, calm down!;RESP R,1,Sorry.;DSET 1,N5;EXIT
  83. /*
  84. LINE: 1;6;What is this village called?;Tell me about the village again.; 
  85. LACT: 1;6;RESP R,1,It's called Hammy Town.;RESP R,1,That's because there is a huge killer hamster on the loose.;RESP R,1,It has been terrorising this town for the past five years.
  86. LACT: 1;6;RESP R,1,It has killed before and it will kill again!
  87. LACT: 1;6;CBOB 11;W 12;SAY Gulp!;W 24;CBOB 14
  88. LACT: 1;6;DSET 1,+7
  89. /*
  90. LINE: 1;7;Killer Hamster? You must think I'm stupid.; ; 
  91. LACT: 1;7;RESP R,1,You are wrong to mock, my friend.;RESP R,1,Jools Henn wrote this game.;RESP R,1,Therefore anything is possible.
  92. LACT: 1;7;RESP R,1,Dodgy graphics, wierd sound, but most of all:;RESP R,1,KILLER HAMSTERS!
  93. LACT: 1;7;RESP R,1,It's making our lives a misery.;DSET 1,N7
  94. /*
  95. LINE: 1;8;It's a bit dark and dingy in here, isn't it?; ;IFCARR 21
  96. LACT: 1;8;RESP R,1,Yes, it is a bit.;RESP R,1,That's because I've got no electricity supply here.;DSET 1,N8
  97.  
  98. /* Room actions follow below ***
  99. /*
  100. /* ACTION: verbno;condition;...;command;...
  101.  
  102. /*
  103. /* Action 0 - Exit
  104. /* ===============
  105. /*
  106. ACTION: 0;IFOBJ 1;MEXIT;GOTO 2,2;EXIT
  107. /*
  108. /* Action 1 - Give
  109. /* ===============
  110. /*
  111.  
  112. ACTION: 1;IFOBJ 21;IFOBJ2 1;IFOF 3=0;MOBJ 1;SAY How about this lamp to brighten the place up?;HANDLE 1;W 25;HANDLE -1;RESP R,1,It's no good to me- I haven't got any electricity!;HANDLE 1;W 25;HANDLE -1;EXIT
  113.  
  114. ACTION: 1;IFOBJ 21;IFOBJ2 1;MOBJ 1;SAY Look at this, barman!;HANDLE 1;W 25;HANDLE -1;RESP R,1,Wow, that is neat! A lamp that lights by itself!;RESP R,1,Here, I'll exchange it for a golden hamster!
  115. ACTION: 1;IFOBJ 21;IFOBJ2 1;SAY Well...;SAY Um...;SAY Yeah, alright then.;HANDLE 1;W 25;HANDLE -1;REMOVE 21,N,0;GET 28,U;EXIT
  116.  
  117. ACTION: 1;IFOBJ 28;IFOBJ2 1;SAY Don't be silly- I got it off him in the first place.;EXIT
  118.  
  119. ACTION: 1;IFOBJ 13;IFOBJ2 1;MOBJ 1;SAY A pint and a packet of crisps please, barman!;RESP R,1,I'm sorry, the bar is closed.;EXIT
  120. ACTION: 1;IFOBJ 11;IFOBJ2 1;IFOF 1=0;MOBJ 1;SAY This isn't one of yours, is it?;RESP R,1,No, I'm afraid not.;EXIT
  121. ACTION: 1;IFOBJ 11;IFOBJ2 1;IFOF 1=1;SAY No thanks!;SAY I don't want him to know that I've stolen some of his whisky!;EXIT
  122.  
  123. /*
  124. /* Action 2- Pick up
  125. /* =================
  126. /*
  127. /*
  128. /* Action 3 - Use
  129. /* ==============
  130. /*
  131. ACTION: 3;IFOBJ ROBJ1;SAY No thanks, I don't want to spill valuable whisky on the floor!;EXIT
  132. ACTION: 3;IFOBJ 11;IFOBJ2 ROBJ1;MOBJ ROBJ1;SAY Here goes...;HANDLE ROBJ1;W 50;HANDLE -1;SAY Job Done! The dozy bartender didn't even notice.
  133. ACTION: 3;IFOBJ 11;IFOBJ2 ROBJ1;ICON 11,44;OBJ1 11;NAME Full Glass;SETOF 1=1;EXIT
  134.  
  135.  
  136. /* Action 4 - Open
  137. /* ===============
  138. /*
  139. ACTION: 4;IFOBJ ROBJ1;SAY Take the bottle, you mean?;SAY I don't think the dodgy bloke will like that.;EXIT
  140.  
  141. /* Action 5 - Talk to
  142. /* ==================
  143. /*
  144. ACTION: 5;IFOBJ 1;IFOF 1=0;MOBJ;SAY Hello.;RESP R,1,Hello.;DSET 1,+2,+3,+4;EXIT
  145. ACTION: 5;IFOBJ 1;IFOF 1=1;MOBJ;SAY Hello again.;RESP R,1,Hello again. What can I do for you now?;DSET 1;EXIT
  146. /*
  147. /* Action 6 - Push
  148. /* ===============
  149. /*
  150. ACTION: 6;IFOBJ ROBJ1;VERB 3;REDO;EXIT
  151. /*
  152. /* Action 7 - Close
  153. /* ================
  154.  
  155. /* Action 8 - Look at
  156. /* ==================
  157. /*
  158. ACTION: 8;MOBJ
  159. ACTION: 8;IFOBJ 1;SAY What a dodgy looking bloke.;RESP R,1,Oy, I heard that!;EXIT
  160. ACTION: 8;IFOBJ ROBJ1;SAY A rather big optic full of lovely whisky.;EXIT
  161. /*
  162. /* Action 9 - Pull
  163. /* ===============
  164. /*
  165. /* End of room file. Some comments must be here, otherwise  the last command
  166. /* line is missed out!
  167.